package thu.cs.segroup.entity;

import java.io.Serializable;
import java.util.HashMap;

public class TCRequirement implements Serializable {

	private String old_task_name;
	private HashMap<String, Object> requirements;
	
	public TCRequirement() {
		requirements = new HashMap<String, Object>();
	}
	
	public String getOld_task_name() {
		return old_task_name;
	}

	public void setOld_task_name(String old_task_name) {
		this.old_task_name = old_task_name;
	}

	public void addProperty(String key, Object value) {
		requirements.put(key, value);
	}
	
	public Object getPropertyByKey(String key) {
		return requirements.get(key);
	}
	
}
